package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

public interface DishService extends IService<Dish> {

    //新增菜品，同时插入对应口味数据dish，dish_flavor
    public void saveWithFlavor(DishDto dishDto);

    //根据id查询对应的菜品信息以及口味信息
    public DishDto getByIdFlavor(Long id);

    //更新菜品信息与口味信息
  public   void updateWithFlavor(DishDto dishDto);
}
